/*
 * ChatListen.java
 *
 * Created on 2007年4月14日, 上午10:28
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.ecomm.chat.pojo;

import com.ecomm.platcore.app.CommonGeneralModel;
import javax.persistence.*;

/**
 *这里的请求聊天的人和接收人顺序无所谓
 * @author pijunliang
 */
@Entity
@Table(name="CHAT_LISTEN")
public class ChatListen  extends CommonGeneralModel {
    /**
     *发送人ID
     */
    private String senduserid;
    /**
     *接收人ID
     */
    private String acceptuserid;
    /**
     *0，为没人进入聊天，
     * 1，聊天发起人进入聊天，
     * 2接收人加入，
     * 3请求第多个也假如了，
     * 多一个人就加1，退出一个减1
   
  private String statecount = "0" ;
     */
    /**
     *用逗号分开每个加入的人和离开的人
     */
    private String joinpeople;
    /**
     *在当前2个人的聊天实例中，
     *另外追加一个人近来或多个人近来，
     *多人用逗号分开。
     *当前聊天实例清空，这个人是不是也应该为空呢？
     */
    private String joinpeoplename;
    
    public String getSenduserid() {
        return senduserid;
    }
    
    public void setSenduserid(String senduserid) {
        this.senduserid = senduserid;
    }
    
    public String getAcceptuserid() {
        return acceptuserid;
    }
    
    public void setAcceptuserid(String acceptuserid) {
        this.acceptuserid = acceptuserid;
    }
    /**
  public String getStatecount() {
    return statecount;
  }
 
  public void setStatecount(String statecount) {
    this.statecount = statecount;
  }*/
    public String getJoinpeople() {
        return joinpeople;
    }
    
    public void setJoinpeople(String joinpeople) {
        this.joinpeople = joinpeople;
    }
    
    public String getJoinpeoplename() {
        return joinpeoplename;
    }
    
    public void setJoinpeoplename(String joinpeoplename) {
        this.joinpeoplename = joinpeoplename;
    }
    
}
